package com.qf.ssm.mapper;

import com.qf.ssm.po.CarDispatchRecord;
import com.qf.ssm.po.CarInfo;
import com.qf.ssm.qo.CarDispatchQo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface CarDispatchMapper {
     List<CarInfo> selectCarInfoAndStoreList(@Param("carDispatchQo") CarDispatchQo carDispatchQo);


     Integer updateEmpStatusById(@Param("empId")Integer empId, @Param("empStatus") Integer empStatus);
     Integer updateCarStoreId(@Param("cid")Integer cid, @Param("storeId")Integer storeId);

     Integer insertCarDispatchRecode(@Param("empId")Integer empId,@Param("cid")Integer cid,@Param("origin")Integer origin,@Param("destination") Integer destination);

     Integer updateCarDispatchStatusById(@Param("did")Integer did, @Param("finshTime") Date finshTime, @Param("dispatchStatus")Integer dispatchStatus);

     CarDispatchRecord selectCarDispatchRecodeByid(@Param("did")Integer did);

}
